package com.lzm.back.mapper;


import com.lzm.back.entity.Event;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Lenovo
 * @description 针对表【event(赛事表)】的数据库操作Mapper
 * @createDate 2025-03-23 20:19:48
 * @Entity .domain.Event
 */
public interface EventMapper {

    List<Event> selectByCondition(@Param("name") String name, @Param("location") String location, @Param("categoryId") Integer categoryId);

    int deleteByPrimaryKey(Long id);

    int insert(Event record);

    int insertSelective(Event record);

    Event selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Event record);

    int updateByPrimaryKey(Event record);

}
